﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IGolovkine.AoA.Compression
{
    public class NoCompression : ICompressionAlgorithm
    {
        public const string Name = "None";

        string ICompressionAlgorithm.Name
        {
            get { return NoCompression.Name; }
        }

        public byte[] Compress(byte[] uncompressedBuffer)
        {
            return uncompressedBuffer;
        }

        public byte[] Decompress(byte[] compressedBuffer)
        {
            return compressedBuffer;
        }
    }
}
